package com.ct.ah.lab.service;

import com.ct.ah.lab.entity.Address;

import java.util.List;

public interface IAddressService {
    public void saveAddress(Address address);
    public List<Address> list(Integer uid);

    void setAddressDefault(Integer aid);

    void setAddressNotDefault(Integer aid);

    void deleteByAid(Integer aid);

    Address getByAid(Integer aid);
    public void changeAddressInfo(Address updateAddress);

    Address getDefault(Integer uid);
}
